package com.gao.frame.study.shop.config.module.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.util.Date;
import lombok.Data;

@Data
@TableName(value = "warehouse_info")
public class WarehouseInfo {
    /**
     * 仓库ID
     */
     @TableId(value = "w_id", type = IdType.AUTO)
    private Short wId;

    /**
     * 仓库编码
     */
    @TableField(value = "warehouse_sn")
    private String warehouseSn;

    /**
     * 仓库名称
     */
    @TableField(value = "warehouse_name")
    private String warehouseName;

    /**
     * 仓库电话
     */
    @TableField(value = "warehouse_phone")
    private String warehousePhone;

    /**
     * 仓库联系人
     */
    @TableField(value = "contact")
    private String contact;

    /**
     * 省
     */
    @TableField(value = "province")
    private Short province;

    /**
     * 市
     */
    @TableField(value = "city")
    private Short city;

    /**
     * 区
     */
    @TableField(value = "district")
    private Short district;

    /**
     * 仓库地址
     */
    @TableField(value = "address")
    private String address;

    /**
     * 仓库状态:0禁用,1启用
     */
    @TableField(value = "warehouse_status")
    private Byte warehouseStatus;

    /**
     * 最后修改时间
     */
    @TableField(value = "modified_time")
    private Date modifiedTime;

    public static final String COL_WAREHOUSE_SN = "warehouse_sn";

    public static final String COL_WAREHOUSE_NAME = "warehouse_name";

    public static final String COL_WAREHOUSE_PHONE = "warehouse_phone";

    public static final String COL_CONTACT = "contact";

    public static final String COL_PROVINCE = "province";

    public static final String COL_CITY = "city";

    public static final String COL_DISTRICT = "district";

    public static final String COL_ADDRESS = "address";

    public static final String COL_WAREHOUSE_STATUS = "warehouse_status";

    public static final String COL_MODIFIED_TIME = "modified_time";
}